package com.gn.heavenpark.activity;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HeavenParkInfo extends Activity {

	Button heavenTellBtn, heavenMapBtn, heavenBookmarkBtn;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.heavenpark_info);
		
		heavenMapBtn=(Button)findViewById(R.id.heavenMapBtn);
		heavenTellBtn=(Button)findViewById(R.id.heavenTellBtn);
		
		
		heavenMapBtn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				
				Intent intent=new Intent(HeavenParkInfo.this,HeavenParkMap.class);
				startActivity(intent);
				
			}
		});
		
		heavenTellBtn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				
				Intent intent= new Intent(Intent.ACTION_CALL);
				intent.setData(Uri.parse("tel:01038127085"));
			    startActivity(intent);
				
			}
		});
	
	}
}
